<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>JavaScript Test for function leftTrim()</title>
<script type="text/javascript" src="../e885StringUtil.js"></script>
<script type="text/javascript">
function doTest()
{
	var msg = document.getElementById( 'testId' ).value;
	
	alert( '尚未去除左邊空白:[' + msg + ']' );
	
	msg = msg.leftTrim();
	
	alert( '去除左邊空白:[' + msg + ']' );
}
</script>
</head>

<body>
<p>JavaScript Tes for function leftTrim()</p>
<p>去除左邊空白 的測試</p>
<input type="text" size="10" id="testId">
<input type="button" value="測試" onclick="doTest()">
</body>
</html>